Screen Shot

staceyw

Bouncin'
<P>After using Tommy's great Screen Capture program, I started playing with some of those API's to see how it could be done (check the blog&nbsp;links in that thread).&nbsp; As the code was not available, I needed to create my own.&nbsp; So I post my version of the program here with the Solution (VS 2005/FX 2.0) code in case anyone&nbsp;is interested in the project.<BR><BR>It does have a few differences.&nbsp; Added an email button that will start the default mail client.&nbsp; You can then just hit ctrl-v in the body to paste the picture*.&nbsp; The image box is set to Shrink, so you can maximize the window after a capture to get a poor man's zoom of the image.&nbsp; Also added&nbsp; X-Y size of current image in the toolbar.<BR><BR>* - Mail client must be started already.&nbsp; Otherwise, the client will still start, but may not "see" the clipboard image.&nbsp; Not sure how to fix that issue yet.&nbsp; Let me know if you have ideas.&nbsp;<BR><BR>--<BR>William Stacey [MVP]<BR><BR><BR>History:<BR>5/8/2006 -&nbsp;Ver 1.0</P>
Posted by staceyw // Mon, May 8, 2006 11:34 PM



After using Tommy's great Screen Capture program, I started playing with some of those API's to see how it could be done (check the blog links in that thread).  As the code was not available, I needed to create my own.  So I post my version of the program here with the Solution (VS 2005/FX 2.0) code in case anyone is interested in the project.

It does have a few differences.  Added an email button that will start the default mail client.  You can then just hit ctrl-v in the body to paste the picture*.  The image box is set to Shrink, so you can maximize the window after a capture to get a poor man's zoom of the image.  Also added  X-Y size of current image in the toolbar.

* - Mail client must be started already.  Otherwise, the client will still start, but may not "see" the clipboard image.  Not sure how to fix that issue yet.  Let me know if you have ideas. 

--
William Stacey [MVP]


History:
5/8/2006 - Ver 1.0

[Save]
  TommyCarlier
  The world is yours
 
  Tue, May 9 2006 10:44 AM
I like the current width and height in the statusbar, and the zoom-effect. I might even steal these features to use in ScreenCapture

If you want the source-code of ScreenCapture, I can send you the VS2005 solution. Another option is to use Reflector. There is even a plugin for Reflector that creates VS projects from a compiled assembly.

  staceyw
  Bouncin'
 
  Tue, May 9 2006 11:38 AM

TommyCarlier wrote:
I like the current width and height in the statusbar, and the zoom-effect. I might even steal these features to use in ScreenCapture

If you want the source-code of ScreenCapture, I can send you the VS2005 solution. Another option is to use Reflector. There is even a plugin for Reflector that creates VS projects from a compiled assembly.


Hi Tommy.  Feel free to use anything.  It will be interesting to what we can do with WPF.  Wonder if WPF will even capture a running video frame instead of the black box of today?